// import { formatTime } from '@/utils'
// 客户机管理列表表头

import i18n from '@/locales/index'
const { t } = i18n.global
export const normalColumns = [
  {
    title: t('common.sequenceNo'), dataIndex: 'index', key: 'index', align: 'center',
    customRender: ({ index }) => {
      return index + 1
    }
  },
  { title: t('other.theNumberOfTheBridge'), dataIndex: 'code', key: 'code', align: 'center', sorter: true },
  { title: t('other.startingMainRail'), dataIndex: 'startMasterTrackNo', key: 'startMasterTrackNo', align: 'center', sorter: true },
  { title: t('other.destinationMasterTrack'), dataIndex: 'endMasterTrackNo', key: 'endMasterTrackNo', align: 'center' , sorter: true},
  { title: t('deviceManage.bridgeNo'), dataIndex: 'bridgeNo', key: 'bridgeNo', align: 'center', sorter: true},
  { title: t('other.bridgingRoute'), dataIndex: 'bridgePath', key: 'bridgePath', align: 'center', sorter: true},
  { title: t('common.operate'), dataIndex: 'operate', key: 'operate', align: 'center', width: 130 , fixed: 'right' }
]
export const localColumns = [
  {
    title: t('common.sequenceNo'), dataIndex: 'index', key: 'index', align: 'center',
    customRender: ({ index }) => {
      return index + 1
    }
  },
  { title: t('other.theNumberOfTheBridge'), dataIndex: 'code', key: 'code', align: 'center', sorter: true },
  { title: t('other.startingMainRail'), dataIndex: 'startMasterTrackNo', key: 'startMasterTrackNo', align: 'center', sorter: true },
  { title: t('other.destinationMasterTrack'), dataIndex: 'endMasterTrackNo', key: 'endMasterTrackNo', align: 'center' , sorter: true},
  { title: t('deviceManage.bridgeNo'), dataIndex: 'bridgeNo', key: 'bridgeNo', align: 'center', sorter: true},
  { title: t('other.bridgingRoute'), dataIndex: 'bridgePath', key: 'bridgePath', align: 'center', sorter: true},
]

